body {
  font-family: "Microsoft Yahei";
  background-color: #eee;
}

input, select, textarea {
  padding: 4px;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

textarea {
  resize: none;
}

hr {
  margin: 5px 0;
}

.hide {
  display: none;
}

.content {
  width: 95%;
  min-height: 500px;
  margin: 5px auto;
  padding: 10px;
  background-color: #fff;
  box-shadow: 3px 3px 10px #999;
}

.bottom {
  width: 95%;
  margin: 5px auto 0;
  padding: 5px 0;
  background: #369;
  text-align: center;
  color: #fff;
  box-shadow: 3px 3px 10px #999;
}

.bottom h5 {
  margin: 5px;
}

.submenu {
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
  background-color: #f6f6f6;
  padding: 3px 0;
  margin: 0;
}

.col-frame {
  min-height: 100px;
  background-color: #f6f6f6;
}

.col-title {
  width: 100%;
  height: 25px;
  line-height: 25px;
  padding: 0 5px;
  background-color: #69c;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.col-content {
  line-height: 20px;
  padding: 0 5px;
}

.col-content .text-xl {
  min-height: 50px;
  line-height: 50px;
  font-size: 32px;
  margin: 0;
}

.col-content .text-l {
  min-height: 40px;
  line-height: 40px;
  font-size: 20px;
  margin: 0;
}

.col-content .text-m {
  min-height: 30px;
  line-height: 30px;
  font-size: 14px;
  margin: 0;
}

.grid-view .summary-right {
  margin-bottom: 5px;
  text-align: right;
  float: right;
}

.grid-view .pagination-left {
  margin: 0 0 5px 0;
  float: left;
}

.half-frame {
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
  background-color: #f6f6f6;
  padding: 4px 5px;
  margin: 5px 0 0 0;
}

.half-frame .title {
  height: 25px;
  line-height: 25px;
  padding: 0 5px;
  font-size: 16px;
  font-weight: bold;
  font-family: "Microsoft Yahei";
}

.half-frame .info {
  width: 100%;
  font-size: 12px;
  font-weight: bold;
}

.half-frame .info tr {
  display: block;
  margin: 5px 0;
  border-top: 1px #ddd solid;
  border-bottom: 1px #ddd solid;
}

.half-frame .info td {
  padding: 0 5px;
  line-height: 25px;
}

.half-frame .info td:first-child {
  background-color: #eee;
  text-align: right;
}

.half-frame .info td:last-child {
  word-wrap: break-word;
  word-break: break-all;
}

.half-frame .list {
  width: 100%;
  height: 180px;
  margin: 0px auto;
  overflow-y: scroll;
  overflow-x: hidden;
}

.half-frame .pie {
  width: 200px;
  height: 180px;
  margin: 0px auto;
}

.half-frame .bar {
  width: 100%;
  height: 240px;
  margin: 0px auto;
}

.half-frame .chart {
  width: 100%;
  height: 200px;
  margin: 0px auto;
}

.loading {
  background-image: url('../images/loading.gif');
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.loginfream {
  width: 330px;
  margin: 150px auto;
  padding: 15px;
  border: none;
  background-color: #fff;
  box-shadow: 5px 5px 15px #999;
}

.loginfream .input-prepend .add-on {
  width: 33px;
  height: 25px;
  line-height: 25px;
  background-color: #fff;
}

.loginfream .btnLogin {
  width: 100%;
  height: 35px;
  line-height: 35px;
  padding: 0;
  font-size: 17px;
  font-family: 'Microsoft YaHei', 'Microsoft JhengHei', 'SimHei';
  font-weight: normal;
  color: #fff;
  background-color: #0080d3;
  background-image: none;
  transition: none;
  box-shadow: none;
  text-shadow: none;
  border: none;
}

.banner {
  width: 100%;
  min-width: 1080px;
  min-height: 70px;
  font-family: 'Microsoft YaHei', 'Microsoft JhengHei', 'SimHei';
  margin: 0 auto;
  background-color: #369;
}

.banner:after {
  clear: both;
}

.banner .banner-center {
  width: 940px;
  height: 70px;
  margin: 0 auto;
}

.banner .banner-logo {
  width: 70px;
  height: 70px;
  float: left;
  background-image: url(../images/logo_banner.png);
}

.banner .banner-menu {
  width: 700px;
  height: 70px;
  float: left;
}

.banner .banner-menu .nav-pills {
  width: 700px;
  height: 70px;
  margin: 0;
  float: left;
}

.banner .banner-menu .nav-pills > li + li {
  margin: 0;
}

.banner .banner-menu .nav-pills > li > a {
  display: block;
  min-width: 60px;
  height: 60px;
  line-height: 15px;
  margin: 5px;
  padding: 0;
  color: #ccc;
  background-color: transparent;
  font-size: 12px;
  text-align: center;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.banner .banner-menu .nav-pills > li > a:hover,
.banner .banner-menu .nav-pills > li > a:focus,
.banner .banner-menu .nav-pills > li.active > a {
  color: #fff;
  background-color: transparent;
}

.banner .banner-menu .nav-pills > li > a > i {
  width: 40px;
  height: 40px;
  margin: 0 auto 5px auto;
  display: block;
  line-height: 36px;
  font-size: 24px;
  color: #666;
  background-color: #eee;
  border: 2px solid #69c;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.banner .banner-menu .nav-pills > li > a:hover > i,
.banner .banner-menu .nav-pills > li > a:focus > i,
.banner .banner-menu .nav-pills > li.active > a > i {
  color: #fff;
  background-color: #69c;
  border-color: #fff;
}

.banner .banner-submenu {
  width: 100%;
  height: 30px;
  background-color: #69c;
}

.banner .banner-info {
  min-width: 145px;
  max-width: 185px;
  height: 70px;
  margin-right: 5px;
  float: right;
}

.banner .banner-info > .banner-info-user {
  min-width: 90px;
  max-width: 130px;
  height: 40px;
  line-height: 34px;
  margin: 15px -15px 15px 0;
  padding: 0 7px;
  display: inline-block;
  border: 3px solid #fff;
  border-right: 3px solid transparent;
  text-align: center;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  -webkit-border-radius: 15px 0 0 15px;
  -moz-border-radius: 15px 0 0 15px;
  border-radius: 15px 0 0 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
  -o-text-overflow: ellipsis;
  overflow: hidden;
}

.banner .banner-info .btn-group {
  width: 70px;
  height: 70px;
  padding: 10px;
  margin: 0;
  float: right;
}

.banner .banner-info .btn-group > a {
  width: 50px;
  height: 50px;
  line-height: 44px;
  display: block;
  padding: 0;
  text-align: center;
  color: #fff;
  background-color: #369;
  border: 3px solid #fff;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
}

.banner .banner-info .btn-group.open > a {
  color: #fff;
  background-color: #69c;
}

.banner .banner-info .btn-group > a > i {
  width: 100%;
  height: 44px;
  line-height: 44px;
  margin: 0 auto;
  font-size: 28px;
  display: block;
}

.banner .dropdown-menu {
  border: none;
  margin: 1px 0 0 0;
  padding: 5px 0;
  min-width: 100%;
  background-color: #369;
}

.banner .dropdown-menu > li > a {
  display: block;
  min-width: 70px;
  height: 25px;
  line-height: 25px;
  margin: 1px;
  padding: 0 5px;
  color: #ccc;
  background-color: #369;
  font-size: 12px;
  text-align: center;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

.banner .dropdown-menu > li > a:hover,
.banner .dropdown-menu > li > a:focus,
.banner .dropdown-menu > li.active > a {
  color: #fff;
  background-color: #69c;
}

.banner .dropdown-menu > li > a > i {
  width: 20px;
  height: 25px;
  margin: 0;
  line-height: 25px;
  font-size: 12px;
  color: #ccc;
}

.banner .dropdown-menu > li > a:hover > i,
.banner .dropdown-menu > li > a:focus > i,
.banner .dropdown-menu > li.active > a > i {
  color: #fff;
}

/*Tree*/
.tree-branch {
  padding: 0 0 0 20px;
}

.tree-branch .tree-branch-master {

}

.tree-branch .tree-branch-subs {
  padding: 0 0 0 20px;
}

.tree-branch .checkbox {
  height: 20px;
  line-height: 20px;
  margin: 5px 0;
}

.tree-branch .checkbox input {
  width: 14px;
  height: 14px;
  margin: 3px 3px 3px -17px;
}

.tree-branch .checkbox a {
  height: 20px;
  line-height: 20px;
  display: inline-block;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tree-branch .checkbox a > i {
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
}

/*Duty*/
.r-view.r-view-type {
  width: 100%;
}

.r-view .row {
  line-height: 24px;
  margin: 0 -5px;
}

.r-view .row [class*="col"] {
  padding: 0 5px;
}

.r-view .r-view-line {
  padding: 2px 0;
}

.r-view .r-view-line > [class*="col"] {
  padding: 0;
}

.r-view > .p-list > .p-item,
.r-view > .d-list > .d-item {
  padding: 2px 0;
}

.r-view > .p-list > .p-item-onduty {
  padding: 1px 0;
  border-top: 1px solid #bce8f1;
  border-bottom: 1px solid #bce8f1;
  background-color: #d9edf7;
}

.r-view .p-index {
  height: 24px;
  line-height: 24px;
  font-size: 18px;
  font-weight: bold;
  text-align: right;
}

.r-view hr {
  margin: 5px 0;
}

.r-view select {
  width: 100%;
  height: 24px;
  line-height: 22px;
  padding: 0;
  margin: 0;
  font-size: 12px;
  float: left;
}

.r-view select option {
  padding: 0;
}

/*label*/
.r-view .r-title {
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  font-weight: bold;
}

.r-view .label {
  width: 100%;
  height: 24px;
  line-height: 24px;
  padding: 0 4px;
  display: inline-block;
  vertical-align: text-bottom;
  font-size: 12px;
  font-weight: normal;
}

.r-view .label .badge {
  width: 20px;
  height: 20px;
  line-height: 20px;
  margin: 2px 2px 2px -22px;
  padding: 0;
  float: left;
  color: #333;
  border-radius: 2px;
}

.r-view .label.label-lv0 {
  background: #ccc;
  color: #333;
}

.r-view .label.label-lv1 {
  background: #cff;
  color: #333;
}

.r-view .label.label-lv2 {
  background: #6cf;
}

.r-view .label.label-lv3 {
  background: #ff0;
}

.r-view .label.label-lv4 {
  background: #f90;
}

.r-view .label.label-lv5 {
  background: #f00;
}

.r-view .r-media .label {
  width: auto;
  min-width: 50px;
  margin: 0 2px 0 0;
}

.r-view .r-label .label {
  width: 100%;
  padding: 0 4px 0 24px;
}

.r-view .p-person .label {
  width: 70px;
  margin: 0 1px;
}

.r-view .label.label-inherit {
  width: 100%;
  height: 24px;
  margin: 0;
  padding: 0;
  float: right;
}

.r-view .label.label-inherit > i {
  height: 24px;
  line-height: 24px;
  font-size: 18px;
  color: #333;
}

/*btn*/
.r-view .btn {
  height: 24px;
  line-height: 20px;
  margin: 0 5px 0 0;
  padding: 2px 0;
}

.r-view .bootstrap-select .btn {
  padding: 0 4px;
}

.r-view .btn-add {
  width: 100%;
  margin: 0;
  float: right;
}

.r-view .bootstrap-select .dropdown-menu {
  padding: 2px 0;
}

.r-view .bootstrap-select .dropdown-menu > li > a {
  padding: 2px 9px;
}

.r-view .bootstrap-select .bs-searchbox {
  padding: 5px;
}

.r-view .bootstrap-select .bs-searchbox .form-control {
  height: 24px;
  line-height: 18px;
  font-size: 12px;
  padding: 2px 4px;
}

.r-view .bootstrap-select.btn-group .dropdown-toggle .filter-option,
.r-view .bootstrap-select.btn-group .dropdown-menu li a span.text {
  font-size: 12px;
}

.r-view .bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
  width: 100%;
}

.r-view .btn-del,
.r-view .btn-clone,
.r-view .btn-up,
.r-view .btn-down {
  width: 100%;
  margin: 0;
  float: right;
}

/*dcal*/
.dcal {
  width: 800px;
}

.dcal > .dcal-header,
.dcal > .dcal-row {
  padding: 2px 0;
  min-height: 25px;
  box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

.dcal > .dcal-header > div,
.dcal > .dcal-row > div {
  width: 95px;
  height: 100%;
  min-height: 25px;
  line-height: 25px;
  margin: 0 5px 0 0;
  padding: 0 0 0 20px;
  display: inline-block;
  vertical-align: bottom;
  background-color: #ccc;
  border-radius: 5px 0;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.dcal > .dcal-header > div {
  background-color: #337ab7;
  color: #fff;
  text-align: center;
  padding: 0;
}

.dcal > .dcal-row > div > .dcal-day {
  width: 20px;
  height: 100%;
  line-height: 25px;
  margin: 0 0 0 -20px;
  font-weight: bold;
  text-align: center;
  float: left;
  border-radius: 5px 0;
  background-color: #333;
  color: #fff;
}

.dcal > .dcal-row > div > span {
  width: 10px;
  height: 25px;
  line-height: 25px;
  margin: 0;
  padding: 0;
  display: inline-block;
  font-size: 0.8em;
  position: absolute;
  right: 0;
  bottom: 0;
  color: #fff;
  text-align: center;
  border-radius: 5px 0;
  background: #f0ad4e;
}

.dcal > .dcal-row > div.on {
  color: #fff;
  background-color: #393;
}

.dcal > .dcal-row > div.on > .dcal-day {
  background-color: #060;
  color: #fff;
}

.dcal > .dcal-row > div.will {
  color: #fff;
  background-color: #39c;
}

.dcal > .dcal-row > div.will > .dcal-day {
  background-color: #069;
  color: #fff;
}

.dcal > .dcal-row > div.dcal-week {
  background-color: #337ab7;
  color: #fff;
  text-align: center;
  padding: 0;
}

.dcal.dcal-disabled > .dcal-row > div.on {
  color: #fff;
  background-color: #999;
}

.dcal.dcal-disabled > .dcal-row > div.on > .dcal-day {
  background-color: #666;
  color: #fff;
}

.dcal.dcal-disabled > .dcal-row > div.will {
  color: #fff;
  background-color: #999;
}

.dcal.dcal-disabled > .dcal-row > div.will > .dcal-day {
  background-color: #666;
  color: #fff;
}

.dcal.dcal-disabled > .dcal-row > div.dcal-week {
  background-color: #666;
  color: #fff;
  text-align: center;
  padding: 0;
}

.dcal-all {
  width: 910px;
  margin: 15px auto;
}

.dcal-all > .dcal-header,
.dcal-all > .dcal-row {
  margin: 2px 0;
}

.dcal-all > .dcal-header > div,
.dcal-all > .dcal-row > div {
  width: 130px;
  height: 100%;
  line-height: 25px;
  margin: 0;
  padding: 0;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  display: inline-block;
  vertical-align: bottom;
  background-color: #ccc;
  text-align: center;
  cursor: pointer;
}

.dcal-all > .dcal-header > div {
  background-color: #337ab7;
  color: #fff;
  text-align: center;
  padding: 0;
}

.dcal-all > .dcal-row > div > .dcal-day {
  width: 100%;
  height: 25px;
  line-height: 25px;
  font-weight: bold;
  text-align: center;
  background-color: #333;
  color: #fff;
}

.dcal-all > .dcal-row > div > .dcal-person {

}

.dcal-all > .dcal-row > div > .dropdown > a {
  width: 100%;
  height: 25px;
  line-height: 25px;
  padding: 0;
  border-radius: 0;
  background-color: #ccc;
  color: #666;
}

.dcal-all > .dcal-row > div.on > .dropdown > a {
  background-color: #393;
  color: #fff;
}

.dcal-all > .dcal-row > div.will > .dropdown > a {
  background-color: #39c;
  color: #fff;
}

.dcal-all > .dcal-row > div > .dropdown.open > a {
  background-color: #bbb;
  color: #666;
}

.dcal-all > .dcal-row > div.on > .dropdown.open > a {
  background-color: #282;
  color: #fff;
}

.dcal-all > .dcal-row > div.will > .dropdown.open > a {
  background-color: #28b;
  color: #fff;
}

.dcal-all > .dcal-row > div > .dropdown > ul {
  left: 100%;
  top: 0;
  min-width: 200px;
  margin: 0 0 0 -5px;
  padding: 0 4px;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.dcal-all > .dcal-row > div > .dropdown > ul > li {
  line-height: 25px;
  color: #333;
  list-style: disc inside;
}

.dcal-all > .dcal-row > div span {
  height: 15px;
  line-height: 15px;
  margin: 5px 1px;
  padding: 0 2px;
  display: inline-block;
  font-size: 12px;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  background-color: #f0ad4e;
}

.dcal-all > .dcal-row > div.on {
  color: #fff;
  background-color: #393;
}

.dcal-all > .dcal-row > div.on > .dcal-day {
  background-color: #060;
  color: #fff;
}

.dcal-all > .dcal-row > div.will {
  color: #fff;
  background-color: #39c;
}

.dcal-all > .dcal-row > div.will > .dcal-day {
  background-color: #069;
  color: #fff;
}

/*
 * Rewrite
 */
blockquote {
  line-height: 20px;
  padding: 0 0 0 10px;
  margin: 0 0 10px 0;
  font-size: 15px;
  font-weight: bold;
  border-left: 5px solid #369;
}

.btn {
  background-image: none;
  vertical-align: top;
}

.btn-full {
  width: 100%;
}

.breadcrumb.breadcrumb {
  width: 95%;
  margin: 5px auto;
  padding: 5px 10px;
  box-shadow: 3px 3px 10px #999;
  background-color: #fff;
  border-radius: 0;
}

.form-search .fa-search {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 18px;
}

.form-control {
  height: 34px;
  padding: 4px;
}

.form-horizontal .control-label {
  padding: 5px;
  line-height: 24px;
  margin-bottom: 0;
  text-align: right;
}

.form-horizontal .control-label .required {
  line-height: 20px;
  display: inline-block;
}

.form-group.error .control-label {
  color: #b94a48;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: #b94a48;
}

.table {
  margin: 0;
  table-layout: fixed;
}

.table .fa {
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 18px;
  text-align: center;
}

.table th,
.table td {
  word-break: break-all;
}

.table tr:last-child th,
.table tr:last-child td {
  border-bottom: 1px solid #ddd;
}

.grid-view {
  padding-top: 5px;
}

.grid-view .summary {
  line-height: 20px;
  margin: 5px 0 0 0;
}

.grid-view .pagination {
  margin: 5px 0;
}